package com.xinjian.jianba.dto;

import java.io.Serializable;

import com.xinjian.jianba.annotation.Validator;
import com.xinjian.jianba.utils.RegexType;

public class LoginDto implements Serializable {

	private static final long serialVersionUID = 3570842741710322016L;
	@Validator(regexType = RegexType.MOBILE, description = "手机号")
	private String mobile;
	@Validator(nullable = false, description = "密码")
	private String password;
	private String usrName;

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUsrName() {
		return usrName;
	}

	public void setUsrName(String usrName) {
		this.usrName = usrName;
	}

}
